package com.xjnt.base.support.admin.controller;

import com.xjnt.base.support.admin.entity.Function;
import com.xjnt.base.support.admin.service.FunctionService;
import com.xjnt.frameworks.annotation.AutoInject;
import com.xjnt.frameworks.annotation.Router;
import com.xjnt.frameworks.core.CRUDController;

@Router(name="/system/admin/function", view="/admin/function")
public class FunctionController extends CRUDController<Function, FunctionService> {

	@AutoInject
	private FunctionService functionService;
	
	@Override
	protected String getBizName() {
		return "功能";
	}
	
	@Override
	protected Class<Function> getClazz() {
		return Function.class;
	}

	@Override
	protected FunctionService getService() {
		return functionService;
	}

}
